package cn.ffcs.uec.staff.manager.impl;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.uec.staff.dao.UecTrialDao;
import cn.ffcs.uec.staff.manager.UecTrialManager;
import cn.ffcs.uec.staff.model.UecTrial;
import cn.ffcs.uom.common.vo.PageInfo;

@Service("uecTrialManager")
@Scope("prototype")
public class UecTrialManagerImpl implements UecTrialManager {

	@Resource
	private UecTrialDao uecTrialDao;

	@Override
	public PageInfo queryPageInfoByUecTrial(UecTrial uecTrial, int current,
			int pageSize) {
		return uecTrialDao.queryPageInfoByUecTrial(uecTrial, current,
				pageSize);
	}

	@Override
	public UecTrial findUecTrial(UecTrial uecTrial) {
		return uecTrialDao.findUecTrial(uecTrial);
	}
	
	@Override
	public PageInfo queryPageInfo(int current,int pageSize) {
		return uecTrialDao.queryPageInfo(current, pageSize);
	}
	@Override
	public UecTrial findUecTrialById(UecTrial uecTrial) {
		return uecTrialDao.findUecTrialById(uecTrial);
	}

	@Override
	public UecTrial findUecTrialOnApproval(UecTrial uecTrial) {
		return uecTrialDao.findUecTrialOnApproval(uecTrial);
	}


}
